<#assign base=request.contextPath>
<!DOCTYPE html> 
<html>
	<head>
		<title>${title}</title>
		<meta charset="utf-8">
		<#include "common/reference.ftl" />
		<#include "common/am.reference.ftl" />
	</head>
	<body class="${configs["skinName"]}">
		<div class="page-content">
			<div class="row">
			<#if viewMode !="view">
			<#include "common/breadcrumb.ftl">
			</#if>
				<form id="form" role="form" class="form-horizontal" method="post" action="${base}/${form_action}">
					<div class="col-xs-12">
						<div class="widget-box">
							<div class="widget-body">
								<input type="hidden" name="id" id="id" value="${model.id}" <#if viewMode == "view">disabled</#if>>
								<#if viewMode == "view">
								<div class="widget-header widget-header-flat">
									<h5 class="lighter">
										${module}
									</h5>
								</div>
								<#else>
								<div class="alert alert-warning">
									<strong>提示!</strong>
									<strong style="color:#dd514c;">出现红框</strong>的表示不能为空
								</div>
								</#if>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        公司标识
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="CompanyId" name="CompanyId" value="5201HDCX8779" class="form-control" required placeholder="请输入标题" disabled>
                                        <span class="lbl">公司标识 部统一分配</span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        银行或者非银行支付机构名称 全称
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="PayName" name="PayName" value="${model.getPayName()}" class="form-control" required placeholder="请输入银行或者非银行支付机构名称 全称">
                                        <span class="lbl"></span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        非银行支付机构业务许可证编号
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="PayId" name="PayId" value="${model.getPayId()}" class="form-control" required placeholder="请输入非银行支付机构业务许可证编号">
                                        <span class="lbl"></span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        支付业务类型
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="PayType" name="PayType" value="${model.getPayType()}" class="form-control" required placeholder="请输入支付业务类型">
                                        <span class="lbl"></span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        业务覆盖范围
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="PayScope" name="PayScope" value="${model.getPayScope()}" class="form-control" required placeholder="请输入业务覆盖范围">
                                        <span class="lbl"></span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        备付金存管银行 全称
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="PrepareBank" name="PrepareBank" value="${model.getPrepareBank()}" class="form-control" required placeholder="请输入备付金存管银行 全称">
                                        <span class="lbl"></span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        结算周期 单位：天
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="CountDate" name="CountDate" value="${model.getCountDate()}" class="form-control" required placeholder="请输入结算周期 单位：天">
                                        <span class="lbl"></span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        状态
                                    </label>
                                    <div class="col-sm-6">
                                        <select id="State" name="State" class="select-chosen form-control" required <#if viewMode == "view">disabled</#if> >
                                            <option value="">请选择状态</option>
                                            <option value="0" <#if 0 == model.getState()>selected="selected"</#if> >有效</option>
                                            <option value="1" <#if 1 == model.getState()>selected="selected"</#if> >失效</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        操作标识
                                    </label>
                                    <div class="col-sm-6">
                                        <select id="Flag" name="Flag" class="select-chosen form-control" required <#if viewMode == "view">disabled</#if> >
                                            <option value="">请选择操作标识</option>
                                            <option value="1" <#if 1 == model.getFlag()>selected="selected"</#if> >新增</option>
                                            <option value="2" <#if 2 == model.getFlag()>selected="selected"</#if> >更新</option>
                                            <option value="3" <#if 3 == model.getFlag()>selected="selected"</#if> >删除</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        更新时间
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="UpdateTime" name="UpdateTime" value="${model.getUpdateTime()}" class="form-control" required placeholder="请输入更新时间" disabled>
                                        <span class="lbl">更新时间 网约车平台完成数据更新的时间 YYYYMMDDhhmmss</span>
                                    </div>
                                </div>

								<#if viewMode != "view">
								<div class="clearfix form-actions">
									<div class="col-md-offset-3 col-md-9">
										<button id="btnSubmit" class="btn btn-info" type="submit">
											<i class="fa fa-check bigger-110"></i>
											提 交
										</button>
									</div>
								</div>
								</#if>
							</div>
						</div>
					</div>
				</form>
			</div>	
		</div>
		<script type="text/javascript">
		$(function(){
			$('.select-chosen').chosen();
			$('#form').validator();
		})
		</script>
	</body>
</html>